import { createRouter, createWebHashHistory } from 'vue-router'
//@表示src文件
import Home from '@/components/home/Home'
import City from '@/components/city/City'
const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
	  path:'/city',
	  component:City,
	  name:'City'
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
